{any_include file="scp_page_start.tpl" wide=1}

<!-- $Id$ -->

{if $error}
<h1>OAuth - Could Not Connect</h1>

{any_include file="scp_oauth_menu.tpl"}

<p class="error">
	Could not connect to the remote server
{if     $error == 'USER'}because the user in the handshake is wrong.
{elseif $error == 'NOTOKEN'}because the token we received was not the token we expected.
{elseif $error == 'NOACCESS'}because we were denied access.
{else}because of some unknown error.
{/if}
	<br/><a href="{$rel_path}module/OAuth/consumer/list">Back to the list of servers</a>.
</p>

{else}

<h1>OAuth - Connected To Server</h1>

{any_include file="scp_oauth_menu.tpl"}

<p class="success">
	Congratulations! You connected succesfully to the server.
	<br/><a href="{$rel_path}module/OAuth/consumer/list">Back to the list of servers</a>.
</p>

{/if}

{any_include file="scp_page_end.tpl" wide=1}
